export default {
    isEmpty: (obj: any):boolean => {
        if (obj === null || obj === undefined) {
            return true;
        }
        if (Array.isArray(obj) && obj.length === 0) {
            return true;
        }
        return typeof obj === 'object' && Object.keys(obj).length === 0;
    }
}